import { createStore } from "vuex";
import user from './user'

const store = createStore({
  modules: {
    user
  },
  state() {
    return {
      count: 1,
    };
  },
  mutations: {
    increment(state) {
      state.count++;
    },
  },
});

export default store;